package com.hanson.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hanson.entity.AcctbkSeqBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AcctbkSeqBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AcctbkSeqBean record);

    AcctbkSeqBean selectByPrimaryKey(Integer id);

    List<AcctbkSeqBean> selectAll();

    List<AcctbkSeqBean> selectByOpenId(@Param("openId") String openId);

    int updateByPrimaryKey(AcctbkSeqBean record);

    List<AcctbkSeqBean> selectPageByOpenId(Page<AcctbkSeqBean> pageInfo, @Param("openId") String openId);

    int updateOpenId(@Param("oldId") String oldId, @Param("newId") String newId);
}